<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<%@ taglib prefix="t" uri="/easyui-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.min.js" /></script>
<script type="text/javascript" src="js/zDrag.js"></script>
<script type="text/javascript" src="js/zDialog.js"></script>

<t:base type="ckfinder,ckeditor,jquery,easyui,tools,DatePicker"></t:base>
<script type="text/javascript" src="plug-in/ckeditor_new/ckeditor.js"></script>
<script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>

<script type="text/javascript">
	function fun1() {
	}
	function fun2() {
		parentDialog.close();
	}
</script>

<!-- <link rel="stylesheet" href="css/index.css"> -->
<title>加好友</title>
<t:base type="jquery,easyui,tools"></t:base>
</head>
<div id="forlogin" style="width: 200px;height: 100px">
	<t:formvalid formid="formobj" layout="div" dialog="true" action="FriendController.do?addBuddy&addType=apple">
		<input type="hidden" name="userId" id="userId" value="${userId}">
		<input type="hidden" name="userName" id="userName" value="${userName}">
		<div id="dialog-form" style="width: 200px; height: 200px;">

			<th valign="top" width="60" class="avt"><a href="#">
					<img src="">
				</a></th>
			<td valign="top">
				添加 <strong>${userName}</strong> 为好友，附言:<br>
				<input type="text" name="fy" value="" size="35" class="px" onkeydown="ctrlEnter(event, 'addsubmit_btn', 1);">
				<p class="mtn xg1">(附言为可选，木子李99 会看到这条附言，最多 10 个字 )</p>
				<p class="mtm">
					分组:
					<select name="fFz" class="ps">
						<option value="0">其他</option>
						<option value="1" selected="selected">通过本站认识</option>
						<option value="2">通过活动认识</option>
						<option value="3">通过朋友认识</option>
						<option value="4">亲人</option>
						<option value="5">同事</option>
						<option value="6">同学</option>
						<option value="7">不认识</option>
					</select>
				</p>
			</td>
		</div>
	</t:formvalid>
</div>

</body>
</html>